-----------------------------------
--  Area: Fort Karugo-Narugo [S]
--  NPC:  '-64.809', '-75.585', '3.608 96
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
-------------------------------------


require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/keyitems");

-----------------------------------
-- onTrade
-----------------------------------

function onTrade(player,npc,trade)
end;

-----------------------------------
-- onTrigger
-----------------------------------

function onTrigger(player,npc)
if((player:getQuestStatus(CRYSTAL_WAR,THE_TIGRESS_STRIKES) == QUEST_ACCEPTED) and (player:getVar("tigress") == 3)) then
player:startEvent(0x0065);
elseif(player:getVar("tigress") == 7)then
player:startEvent(0x0068);
end	
end;

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
if(csid ==0x0065)then
player:setVar("tigress",4);
end
end;
